<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonList.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
</head>

<body style="height:180px;overflow:auto;">

	<ec:ceTable items="list" action="" var="item" view="pmsNoPageView" styleClass="gridData2" rowsDisplayed="${totalRows }" cellpadding="0" cellspacing="0">
	<ec:ceRow styleClass="grid"
			  onclick="return false;"
			  onContextMenu="return ShowContextMenu(event,'quick_rightmenu');"
			  ondblclick="">
		<ec:ceColumn width="12%" headerCell="pmsHeadrCell" title="${key.houseNumber }" property="houseNumber" ></ec:ceColumn>
		<ec:ceColumn width="16%" headerCell="pmsHeadrCell" title="${key.meterName }"   property="meterName" ></ec:ceColumn>
		<ec:ceColumn width="16%" headerCell="pmsHeadrCell" title="${key.thisReading }" property="thisReading" ></ec:ceColumn>
		<ec:ceColumn width="16%" headerCell="pmsHeadrCell" title="${key.lastReading }" property="lastReading" ></ec:ceColumn>
		<ec:ceColumn width="16%" headerCell="pmsHeadrCell" title="${key.wastage }"     property="wastage" ></ec:ceColumn>
		<ec:ceColumn width="16%" headerCell="pmsHeadrCell" title="${key.recordTime  }" property="recordTime"   cell="date" parse="yyyy-MM-dd"></ec:ceColumn>
	</ec:ceRow>
</ec:ceTable>

 <!--
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
	<tr>
	<td colspan="5" >
		<table width="100%" border="0" cellspacing="0" cellpadding="0" id="crmGrid" class="gridControl gridArea">
			<tr >
				<td width="12%" class="align_left"  onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'"><span class="grid grid_head_line">${key.houseNumber }</span></td>
				<td width="16%" class="align_left" onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'"><span class="grid grid_head_line">${key.meterName }</span></td>
				<td width="16%" class="align_left" onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'"><span class="grid grid_head_line">${key.thisReading }</span></td>
				<td width="16%" class="align_left" onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'"><span class="grid grid_head_line">${key.lastReading }</span></td>
				<td width="16%" class="align_right" onMouseOver="this.className='grid_sort_on align_right'" onMouseOut="this.className='align_right'"><span class="grid grid_head_line">${key.wastage }</span></td>
				<td width="16%" class="align_left" onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'">${key.recordTime }</td>
			</tr>
		</table>
	<table width="100%" border="0" cellspacing="0" cellpadding="0"  class='gridData2'>
	<c:forEach items="${list}" var="newData">
		<tr class="grid">
			<td width="12%" class="grid align_left"> ${newData.houseNumber }</td>
			<td width="16%" class="grid align_left">${newData.meterName } </td>
			<td width="16%" class="grid align_right">${newData.thisReading }</td>
			<td width="16%" class="grid align_right">${newData.lastReading }</td>
			<td width="16%" class="grid align_right">${newData.wastage }</td>
			<td width="16%" class="grid align_left"><fmt:formatDate pattern="yyyy-MM-dd" var="recordTime" value="${newData.recordTime }"/>${recordTime }</td>
		</tr>
	</c:forEach>
	</table>
	</td>
	</tr>
</table>
 -->
</body>
</html>